
.gridContainer {
    display: grid;
    grid-template-rows: auto;
    /*grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));*/
    grid-template-columns: repeat(5, 1fr);
    gap: 10px 10px;
    padding: 40px;
}

.flip-container {
    aspect-ratio: 1/1.1;
    width: 85%;
    position: relative;
    perspective: 1000px;
    cursor: pointer;
}

.front-side, .back-side {
    position: absolute;
    backface-visibility: hidden;
    transition: transform 500ms;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.back-side {
    background: LightCyan;
    color: white;
    z-index: 2;
    transform: rotateY(180deg);
}

.front-side {
    transform: rotateY(0deg);
}

.flip-container.flipped .front-side {
    transform: rotateY(180deg);
    z-index: 2;
}

.flip-container.flipped .back-side {
    transform: rotateY(0deg);
    z-index: 1;
}

.controls {
    margin-left: 40px;
    margin-top: 0;
}